import React, { Component, Fragment } from 'react';
import { StyleSheet, View, Text } from 'react-native';
import { px2dp } from '@/styles';

/**
 * @author kanglang
 * @description 行提示
 * @createDate 2020/8/17
 *
 */
export default class ConRowTip extends Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }

  render() {
    const { title } = this.props;
    return (
      <>
        <View style={styles.headTxtWrap}>
          <Text style={styles.txtName}>{title}</Text>
        </View>
      </>

    );
  }
}
const styles = StyleSheet.create({
  headTxtWrap: {
    width: '100%',
    height: px2dp(36) * 2,
    backgroundColor: '#FFFFFF',
    borderLeftColor: '#BA914A',
    borderLeftWidth: px2dp(3) * 2,
    justifyContent: 'center',
    paddingLeft: px2dp(13) * 2
  },
  txtName: {
    color: '#333232',
    fontSize: px2dp(14) * 2,
  },
});
